home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980901-19981211
/
000420_news@newsmaster….columbia.edu _Fri Dec 11 07:25:44 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA16078
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 11 Dec 1998 07:25:43 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id HAA20013
for kermit.misc@watsun; Fri, 11 Dec 1998 07:25:43 -0500 (EST)
From: Tilak Ratnanather <tilak@eros.cis.jhu.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: help with scripting
Date: Thu, 10 Dec 1998 16:01:55 -0500
Organization: HCF - Johns Hopkins University, Baltimore, Maryland, USA
Lines: 40
Message-ID: <Pine.SGI.4.05.9812101557050.64066-100000@poros.cis.jhu.edu>
NNTP-Posting-Host: 128.220.34.218
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Path: news.columbia.edu!panix!news-xfer.newsread.com!netaxs.com!newsread.com!news4.his.com!news.cs.jhu.edu!news.jhu.edu!poros.cis.jhu.edu!tilak
Xref: news.columbia.edu comp.protocols.kermit.misc:9628
I would like to use the modem to connect with a operator service and
request them to connect with a specific location. I got this to work when
using one location and now I am trying to expand this to two more
locations. But while the script works instead of one output line i get
all three....is there an endif command?
ask \%l { location (p for poros, m for mim, h for helios): }
set modem intel
set line /dev/ttyf2
set speed 2400
set dial timeout 120
dial 918007352258
;
if equal {\%l} p
output Poros: This is a 2LVCO call. Please dial 410-516-2926. GA \13
else if equal {\%l} m
output Mim: This is a 2LVCO call. Please dial 410-516-2927. GA \13
else if equal {\%l} h
output Helios: This is a 2LVCO call. Please dial 410-516-2928. GA \13
connect
Thanks
Tilak
=========================================================================
J. Tilak Ratnanather e-mail: tilak@cis.jhu.edu
Research Associate phone: 410-516-2926 (voicemail)
Center for Imaging Science fax: 410-516-4594
Johns Hopkins University URL: http://cis.jhu.edu/~tilak
221 Barton Hall pager: 1-800-225-0256 ext 246126
3400 N. Charles Street, Baltimore MD 21218-2686
=========================================================================
A room without books is a body without a soul. (Cicero)
Welsh rugby is an unlikely victim of Thatcherism.
=========================================================================